package com.lzh.persevere.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzh.persevere.model.entity.UserRole;


/**
 * 用户和角色关联表(SysUserRole)表服务接口
 *
 * @author luzhiheng
 * @since 2023-12-28 16:14:28
 */
public interface UserRoleService extends IService<UserRole> {

    /**
     * 通过用户id删除
     *
     * @param userId 用户id
     */
    void removeByUserId(Long userId);
}